Optimal. Leaf size=253 \[ -\frac {5 (b d-a e)^2 (-a B e-6 A b e+7 b B d) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{8 \sqrt {b} e^{9/2}}+\frac {5 \sqrt {a+b x} \sqrt {d+e x} (b d-a e) (-a B e-6 A b e+7 b B d)}{8 e^4}-\frac {5 (a+b x)^{3/2} \sqrt {d+e x} (-a B e-6 A b e+7 b B d)}{12 e^3}+\frac {(a+b x)^{5/2} \sqrt {d+e x} (-a B e-6 A b e+7 b B d)}{3 e^2 (b d-a e)}-\frac {2 (a+b x)^{7/2} (B d-A e)}{e \sqrt {d+e x} (b d-a e)} \]
________________________________________________________________________________________
Rubi [A] time = 0.21, antiderivative size = 253, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {78, 50, 63, 217, 206} \begin {gather*} \frac {(a+b x)^{5/2} \sqrt {d+e x} (-a B e-6 A b e+7 b B d)}{3 e^2 (b d-a e)}-\frac {5 (a+b x)^{3/2} \sqrt {d+e x} (-a B e-6 A b e+7 b B d)}{12 e^3}+\frac {5 \sqrt {a+b x} \sqrt {d+e x} (b d-a e) (-a B e-6 A b e+7 b B d)}{8 e^4}-\frac {5 (b d-a e)^2 (-a B e-6 A b e+7 b B d) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{8 \sqrt {b} e^{9/2}}-\frac {2 (a+b x)^{7/2} (B d-A e)}{e \sqrt {d+e x} (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 78
Rule 206
Rule 217
Rubi steps
\begin {align*} \int \frac {(a+b x)^{5/2} (A+B x)}{(d+e x)^{3/2}} \, dx &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}+\frac {(7 b B d-6 A b e-a B e) \int \frac {(a+b x)^{5/2}}{\sqrt {d+e x}} \, dx}{e (b d-a e)}\\ &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}+\frac {(7 b B d-6 A b e-a B e) (a+b x)^{5/2} \sqrt {d+e x}}{3 e^2 (b d-a e)}-\frac {(5 (7 b B d-6 A b e-a B e)) \int \frac {(a+b x)^{3/2}}{\sqrt {d+e x}} \, dx}{6 e^2}\\ &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}-\frac {5 (7 b B d-6 A b e-a B e) (a+b x)^{3/2} \sqrt {d+e x}}{12 e^3}+\frac {(7 b B d-6 A b e-a B e) (a+b x)^{5/2} \sqrt {d+e x}}{3 e^2 (b d-a e)}+\frac {(5 (b d-a e) (7 b B d-6 A b e-a B e)) \int \frac {\sqrt {a+b x}}{\sqrt {d+e x}} \, dx}{8 e^3}\\ &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}+\frac {5 (b d-a e) (7 b B d-6 A b e-a B e) \sqrt {a+b x} \sqrt {d+e x}}{8 e^4}-\frac {5 (7 b B d-6 A b e-a B e) (a+b x)^{3/2} \sqrt {d+e x}}{12 e^3}+\frac {(7 b B d-6 A b e-a B e) (a+b x)^{5/2} \sqrt {d+e x}}{3 e^2 (b d-a e)}-\frac {\left (5 (b d-a e)^2 (7 b B d-6 A b e-a B e)\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {d+e x}} \, dx}{16 e^4}\\ &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}+\frac {5 (b d-a e) (7 b B d-6 A b e-a B e) \sqrt {a+b x} \sqrt {d+e x}}{8 e^4}-\frac {5 (7 b B d-6 A b e-a B e) (a+b x)^{3/2} \sqrt {d+e x}}{12 e^3}+\frac {(7 b B d-6 A b e-a B e) (a+b x)^{5/2} \sqrt {d+e x}}{3 e^2 (b d-a e)}-\frac {\left (5 (b d-a e)^2 (7 b B d-6 A b e-a B e)\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {d-\frac {a e}{b}+\frac {e x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{8 b e^4}\\ &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}+\frac {5 (b d-a e) (7 b B d-6 A b e-a B e) \sqrt {a+b x} \sqrt {d+e x}}{8 e^4}-\frac {5 (7 b B d-6 A b e-a B e) (a+b x)^{3/2} \sqrt {d+e x}}{12 e^3}+\frac {(7 b B d-6 A b e-a B e) (a+b x)^{5/2} \sqrt {d+e x}}{3 e^2 (b d-a e)}-\frac {\left (5 (b d-a e)^2 (7 b B d-6 A b e-a B e)\right ) \operatorname {Subst}\left (\int \frac {1}{1-\frac {e x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {d+e x}}\right )}{8 b e^4}\\ &=-\frac {2 (B d-A e) (a+b x)^{7/2}}{e (b d-a e) \sqrt {d+e x}}+\frac {5 (b d-a e) (7 b B d-6 A b e-a B e) \sqrt {a+b x} \sqrt {d+e x}}{8 e^4}-\frac {5 (7 b B d-6 A b e-a B e) (a+b x)^{3/2} \sqrt {d+e x}}{12 e^3}+\frac {(7 b B d-6 A b e-a B e) (a+b x)^{5/2} \sqrt {d+e x}}{3 e^2 (b d-a e)}-\frac {5 (b d-a e)^2 (7 b B d-6 A b e-a B e) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{8 \sqrt {b} e^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.59, size = 309, normalized size = 1.22 \begin {gather*} \frac {\frac {\sqrt {b d-a e} \sqrt {\frac {b (d+e x)}{b d-a e}} (a B e+6 A b e-7 b B d) \left (8 b^3 e^3 (a+b x)^3 \sqrt {b d-a e} \sqrt {\frac {b (d+e x)}{b d-a e}}-10 b^3 e^2 (a+b x)^2 (b d-a e)^{3/2} \sqrt {\frac {b (d+e x)}{b d-a e}}+15 b^3 e (a+b x) (b d-a e)^{5/2} \sqrt {\frac {b (d+e x)}{b d-a e}}-15 b^3 \sqrt {e} \sqrt {a+b x} (b d-a e)^3 \sinh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b d-a e}}\right )\right )}{3 b^4}+16 e^4 (a+b x)^4 (B d-A e)}{8 e^5 \sqrt {a+b x} \sqrt {d+e x} (a e-b d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.78, size = 315, normalized size = 1.25 \begin {gather*} -\frac {\sqrt {a+b x} (a e-b d)^2 \left (\frac {240 A b^2 e^2 (a+b x)}{d+e x}+\frac {48 A e^4 (a+b x)^3}{(d+e x)^3}-\frac {198 A b e^3 (a+b x)^2}{(d+e x)^2}-\frac {280 b^2 B d e (a+b x)}{d+e x}-15 a b^2 B e-\frac {33 a B e^3 (a+b x)^2}{(d+e x)^2}-\frac {48 B d e^3 (a+b x)^3}{(d+e x)^3}+\frac {40 a b B e^2 (a+b x)}{d+e x}+\frac {231 b B d e^2 (a+b x)^2}{(d+e x)^2}-90 A b^3 e+105 b^3 B d\right )}{24 e^4 \sqrt {d+e x} \left (\frac {e (a+b x)}{d+e x}-b\right )^3}-\frac {5 (b d-a e)^2 (-a B e-6 A b e+7 b B d) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{8 \sqrt {b} e^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 4.56, size = 858, normalized size = 3.39 \begin {gather*} \left [-\frac {15 \, {\left (7 \, B b^{3} d^{4} - 3 \, {\left (5 \, B a b^{2} + 2 \, A b^{3}\right )} d^{3} e + 3 \, {\left (3 \, B a^{2} b + 4 \, A a b^{2}\right )} d^{2} e^{2} - {\left (B a^{3} + 6 \, A a^{2} b\right )} d e^{3} + {\left (7 \, B b^{3} d^{3} e - 3 \, {\left (5 \, B a b^{2} + 2 \, A b^{3}\right )} d^{2} e^{2} + 3 \, {\left (3 \, B a^{2} b + 4 \, A a b^{2}\right )} d e^{3} - {\left (B a^{3} + 6 \, A a^{2} b\right )} e^{4}\right )} x\right )} \sqrt {b e} \log \left (8 \, b^{2} e^{2} x^{2} + b^{2} d^{2} + 6 \, a b d e + a^{2} e^{2} + 4 \, {\left (2 \, b e x + b d + a e\right )} \sqrt {b e} \sqrt {b x + a} \sqrt {e x + d} + 8 \, {\left (b^{2} d e + a b e^{2}\right )} x\right ) - 4 \, {\left (8 \, B b^{3} e^{4} x^{3} + 105 \, B b^{3} d^{3} e - 48 \, A a^{2} b e^{4} - 10 \, {\left (19 \, B a b^{2} + 9 \, A b^{3}\right )} d^{2} e^{2} + 3 \, {\left (27 \, B a^{2} b + 50 \, A a b^{2}\right )} d e^{3} - 2 \, {\left (7 \, B b^{3} d e^{3} - {\left (13 \, B a b^{2} + 6 \, A b^{3}\right )} e^{4}\right )} x^{2} + {\left (35 \, B b^{3} d^{2} e^{2} - 2 \, {\left (34 \, B a b^{2} + 15 \, A b^{3}\right )} d e^{3} + 3 \, {\left (11 \, B a^{2} b + 18 \, A a b^{2}\right )} e^{4}\right )} x\right )} \sqrt {b x + a} \sqrt {e x + d}}{96 \, {\left (b e^{6} x + b d e^{5}\right )}}, \frac {15 \, {\left (7 \, B b^{3} d^{4} - 3 \, {\left (5 \, B a b^{2} + 2 \, A b^{3}\right )} d^{3} e + 3 \, {\left (3 \, B a^{2} b + 4 \, A a b^{2}\right )} d^{2} e^{2} - {\left (B a^{3} + 6 \, A a^{2} b\right )} d e^{3} + {\left (7 \, B b^{3} d^{3} e - 3 \, {\left (5 \, B a b^{2} + 2 \, A b^{3}\right )} d^{2} e^{2} + 3 \, {\left (3 \, B a^{2} b + 4 \, A a b^{2}\right )} d e^{3} - {\left (B a^{3} + 6 \, A a^{2} b\right )} e^{4}\right )} x\right )} \sqrt {-b e} \arctan \left (\frac {{\left (2 \, b e x + b d + a e\right )} \sqrt {-b e} \sqrt {b x + a} \sqrt {e x + d}}{2 \, {\left (b^{2} e^{2} x^{2} + a b d e + {\left (b^{2} d e + a b e^{2}\right )} x\right )}}\right ) + 2 \, {\left (8 \, B b^{3} e^{4} x^{3} + 105 \, B b^{3} d^{3} e - 48 \, A a^{2} b e^{4} - 10 \, {\left (19 \, B a b^{2} + 9 \, A b^{3}\right )} d^{2} e^{2} + 3 \, {\left (27 \, B a^{2} b + 50 \, A a b^{2}\right )} d e^{3} - 2 \, {\left (7 \, B b^{3} d e^{3} - {\left (13 \, B a b^{2} + 6 \, A b^{3}\right )} e^{4}\right )} x^{2} + {\left (35 \, B b^{3} d^{2} e^{2} - 2 \, {\left (34 \, B a b^{2} + 15 \, A b^{3}\right )} d e^{3} + 3 \, {\left (11 \, B a^{2} b + 18 \, A a b^{2}\right )} e^{4}\right )} x\right )} \sqrt {b x + a} \sqrt {e x + d}}{48 \, {\left (b e^{6} x + b d e^{5}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 2.10, size = 396, normalized size = 1.57 \begin {gather*} \frac {5 \, {\left (7 \, B b^{3} d^{3} {\left | b \right |} - 15 \, B a b^{2} d^{2} {\left | b \right |} e - 6 \, A b^{3} d^{2} {\left | b \right |} e + 9 \, B a^{2} b d {\left | b \right |} e^{2} + 12 \, A a b^{2} d {\left | b \right |} e^{2} - B a^{3} {\left | b \right |} e^{3} - 6 \, A a^{2} b {\left | b \right |} e^{3}\right )} e^{\left (-\frac {9}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{8 \, b^{\frac {3}{2}}} + \frac {{\left ({\left (2 \, {\left (\frac {4 \, {\left (b x + a\right )} B {\left | b \right |} e^{\left (-1\right )}}{b} - \frac {{\left (7 \, B b^{2} d {\left | b \right |} e^{5} - B a b {\left | b \right |} e^{6} - 6 \, A b^{2} {\left | b \right |} e^{6}\right )} e^{\left (-7\right )}}{b^{2}}\right )} {\left (b x + a\right )} + \frac {5 \, {\left (7 \, B b^{3} d^{2} {\left | b \right |} e^{4} - 8 \, B a b^{2} d {\left | b \right |} e^{5} - 6 \, A b^{3} d {\left | b \right |} e^{5} + B a^{2} b {\left | b \right |} e^{6} + 6 \, A a b^{2} {\left | b \right |} e^{6}\right )} e^{\left (-7\right )}}{b^{2}}\right )} {\left (b x + a\right )} + \frac {15 \, {\left (7 \, B b^{4} d^{3} {\left | b \right |} e^{3} - 15 \, B a b^{3} d^{2} {\left | b \right |} e^{4} - 6 \, A b^{4} d^{2} {\left | b \right |} e^{4} + 9 \, B a^{2} b^{2} d {\left | b \right |} e^{5} + 12 \, A a b^{3} d {\left | b \right |} e^{5} - B a^{3} b {\left | b \right |} e^{6} - 6 \, A a^{2} b^{2} {\left | b \right |} e^{6}\right )} e^{\left (-7\right )}}{b^{2}}\right )} \sqrt {b x + a}}{24 \, \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.03, size = 1184, normalized size = 4.68
result too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (A+B\,x\right )\,{\left (a+b\,x\right )}^{5/2}}{{\left (d+e\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________